package test3_13.Vehicle;

public class Homework7_9_Vehicle {
    public static void main(String[] args) {
        Vehicle vehicle = new Vehicle();
        //设置一个初始速度并调用方法
        vehicle.setSpeed(50);
        vehicle.SpeedDown();
        vehicle.SpeedUp();
        //设置一个初始时间并调用方法
        vehicle.Move(5);
    }
}
